package cn.edu.scau.cmi.xuminbang.chapter5;

public class Computer {
	public int getSum(int ...x) {
		int sum=0;
		for(int i=0;i<x.length;i++) {
			sum=sum+x[i];
		}
		return sum;
	}

}
